package com.itany.service;

import java.util.List;
import java.util.Map;

public interface RoleService {
    public List<Map<String,Object>> queryByParams(String name);
    void insertRole(String name, String ids);
    Map<String, Object> queryById(Integer id);
    void modifyRole(String name, String ids, Integer id);
    Map<String,Object> queryByPermissions(Integer id);
    List<Map<String, Object>> queryRoles();
    Boolean deleteRole(Integer id);
}
